package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【常见问题】对象 pc_faq_config
 * 
 * @author ruoyi
 * @date 2022-07-23
 */
@ApiModel(value = "PcFaqConfig",description = "【常见问题】对象 pc_faq_config")
public class PcFaqConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 常见问题回答主键 */
    private Long id;

    /** 问题标题 */
    @ApiModelProperty(value="问题标题",name="PcFaqConfig$title")
    @Excel(name = "问题标题")
    private String title;

    /** 问题解答 */
    @ApiModelProperty(value="问题解答",name="PcFaqConfig$answer")
    @Excel(name = "问题解答")
    private String answer;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("answer", getAnswer())
            .toString();
    }
}
